package com.business.api.official.toursism.websitenews.manager;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.business.api.official.toursism.websitenews.vo.WebsiteNewsApiBriefListVO;
import com.business.api.official.toursism.websitenews.vo.WebsiteNewsApiBriefVO;
import com.business.api.official.toursism.websitenews.vo.WebsiteNewsApiDetailListVO;
import com.business.api.official.toursism.websitenews.vo.WebsiteNewsApiDetailVO;
import com.business.api.official.toursism.websitenews.vo.data.WebsiteNewsApiBriefData;
import com.business.api.official.toursism.websitenews.vo.data.WebsiteNewsApiDetailData;
import com.business.system.official.toursism.websitenews.entity.WebsiteNews;
import com.seed.core.exception.ManagerException;
import com.seed.core.pojo.manager.SeedApiManager;

import java.util.List;
/**
 * @description 乌镇新闻
 * @author CodeGenerator
 * @date   2025-01-25
 * @version V1.0
 */
public interface WebsiteNewsApiManager extends SeedApiManager<WebsiteNews>{

    /**
     * 根据id获取详情VO data
     *
     * @param websiteNewsId 对象id
     * @return 详情VO data对象
     * @throws ManagerException 通用层异常
     */
    WebsiteNewsApiDetailData convertApiDetailData(String websiteNewsId) throws ManagerException;

    /**
     * 转换为VO对象
     *
     * @param websiteNews model
     * @return VO对象
     * @throws ManagerException 通用层异常
     */
    WebsiteNewsApiDetailData convertApiDetailData(WebsiteNews websiteNews) throws ManagerException;

    /**
     * 根据id获取详情VO
     *
     * @param websiteNewsId 对象id
     * @return 详情VO对象
     * @throws ManagerException 通用层异常
     */
    WebsiteNewsApiDetailVO getApiDetailVO(String websiteNewsId) throws ManagerException;

    /**
     * 根据对象获取详情VO
     *
     * @param websiteNews 对象
     * @return 详情VO对象
     * @throws ManagerException 通用层异常
     */
    WebsiteNewsApiDetailVO getApiDetailVO(WebsiteNews websiteNews) throws ManagerException;

    /**
     * 根据对象ids获取详情VO data list
     *
     * @param ids 对象ids
     * @return 详情VO data list对象
     * @throws ManagerException 通用层异常
     */
    List<WebsiteNewsApiDetailData> getConvertApiDetailListVOByIds(List<String> ids) throws ManagerException;

    /**
     * 根据查询条件获取详情VO data list
     *
     * @param queryWrapper 查询条件
     * @return 详情VO data list对象
     * @throws ManagerException 通用层异常
     */
    List<WebsiteNewsApiDetailData> listConvertApiDetailData(Wrapper<WebsiteNews> queryWrapper) throws ManagerException;

    /**
     * 转换为VO对象
     *
     * @param websiteNewsList model列表
     * @return VO对象列表
     * @throws ManagerException 通用层异常
     */
    List<WebsiteNewsApiDetailData> listConvertApiDetailData(List<WebsiteNews> websiteNewsList) throws ManagerException;

    /**
     * 根据对象ids获取详情VO data list
     *
     * @param ids 对象ids
     * @return 详情VO data list对象
     * @throws ManagerException 通用层异常
     */
    WebsiteNewsApiDetailListVO getApiDetailListVOByIds(List<String> ids) throws ManagerException;

    /**
     * 根据查询条件获取详情VO data list
     *
     * @param queryWrapper 查询条件
     * @return 详情VO data list对象
     * @throws ManagerException 通用层异常
     */
    WebsiteNewsApiDetailListVO getApiDetailListVO(Wrapper<WebsiteNews> queryWrapper) throws ManagerException;

    /**
     * 根据对象list获取详情VO data list
     *
     * @param websiteNewsList 对象list
     * @return 详情VO data list对象
     * @throws ManagerException 通用层异常
     */
    WebsiteNewsApiDetailListVO getApiDetailListVO(List<WebsiteNews> websiteNewsList) throws ManagerException;

    /**
     * 根据id获取简略VO data
     *
     * @param websiteNewsId 对象id
     * @return 简略VO data对象
     * @throws ManagerException 通用层异常
     */
    WebsiteNewsApiBriefData convertApiBriefData(String websiteNewsId) throws ManagerException;

    /**
     * 转换为VO对象
     *
     * @param websiteNews model
     * @return VO对象
     * @throws ManagerException 通用层异常
     */
    WebsiteNewsApiBriefData convertApiBriefData(WebsiteNews websiteNews) throws ManagerException;

    /**
     * 根据id获取简略VO
     *
     * @param websiteNewsId 对象id
     * @return 简略VO对象
     * @throws ManagerException 通用层异常
     */
    WebsiteNewsApiBriefVO getApiBriefVO(String websiteNewsId) throws ManagerException;

    /**
     * 根据对象获取简略VO
     *
     * @param websiteNews 对象
     * @return 简略VO对象
     * @throws ManagerException 通用层异常
     */
    WebsiteNewsApiBriefVO getApiBriefVO(WebsiteNews websiteNews) throws ManagerException;

    /**
     * 根据对象ids获取简略VO data list
     *
     * @param ids 对象ids
     * @return 简略VO data list对象
     * @throws ManagerException 通用层异常
     */
    List<WebsiteNewsApiBriefData> listConvertApiBriefDataByIds(List<String> ids) throws ManagerException;

    /**
     * 根据查询条件获取简略VO data list
     *
     * @param queryWrapper 查询条件
     * @return 简略VO data list对象
     * @throws ManagerException 通用层异常
     */
    List<WebsiteNewsApiBriefData> listConvertApiBriefData(Wrapper<WebsiteNews> queryWrapper) throws ManagerException;

    /**
     * 根据对象list获取简略VO data list
     *
     * @param websiteNewsList 对象list
     * @return 简略VO data list对象
     * @throws ManagerException 通用层异常
     */
    List<WebsiteNewsApiBriefData> listConvertApiBriefData(List<WebsiteNews> websiteNewsList) throws ManagerException;

    /**
     * 根据对象ids获取简略VO data list
     *
     * @param ids 对象ids
     * @return 简略VO data list对象
     * @throws ManagerException 通用层异常
     */
    WebsiteNewsApiBriefListVO getApiBriefListVOByIds(List<String> ids) throws ManagerException;

    /**
     * 根据查询条件获取简略VO data list
     *
     * @param queryWrapper 查询条件
     * @return 简略VO data list对象
     * @throws ManagerException 通用层异常
     */
    WebsiteNewsApiBriefListVO getApiBriefListVO(Wrapper<WebsiteNews> queryWrapper) throws ManagerException;

    /**
     * 根据对象list获取简略VO data list
     *
     * @param websiteNewsList 对象list
     * @return 简略VO data list对象
     * @throws ManagerException 通用层异常
     */
    WebsiteNewsApiBriefListVO getApiBriefListVO(List<WebsiteNews> websiteNewsList) throws ManagerException;

    /**
     * 根据对象list获取模糊查询VO data list
     *
     * @param websiteNewsList 对象list
     * @return 简略VO data list对象
     * @throws ManagerException 通用层异常
     */
    List<WebsiteNewsApiDetailData> listConvertApiTitleData(List<WebsiteNews> websiteNewsList) throws ManagerException;
}
